﻿<!--#include file="../inc/easp/easp.asp"-->
<!--#include file="../inc/conn1.asp"-->
<!--#include file="../inc/checklogin.asp"-->
<!--#include file="../inc/easyide.asp"-->
<% CheckLogin("../index.asp") %>
<%
  dim uid,password
  uid = Request.Form("uid")'用户ID
  password  = Request.Form("password")'密码
    
  '修改密码
  dim result1
  result1 = Easp.db.UpdateRecord("user", "ID=" & uid & "", Array("PassWord:" & password & ""))
  if result1<>0 then
  	Response.Write "<script type=""text/javascript"">alert('Alter User Succeed!');top.location.href='../index.asp';</script>"
  else
  	Response.Write "<script type=""text/javascript"">alert('Alter User Failed!');top.location.href='password.asp';</script>"
  end if  
%>